package cn.iocoder.yudao.module.system.controller.admin.dict.vo.data;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 字典数据树形结构 Response VO
 */
@Data
@Schema(description = "管理后台 - 字典数据树形结构 Response VO")
public class DictDataTreeRespVO {

    @Schema(description = "字典数据编号", example = "1024")
    private Long id;

    @Schema(description = "字典标签", example = "芋道")
    private String label;

    @Schema(description = "字典值", example = "iocoder")
    private String value;

    @Schema(description = "字典类型", example = "sys_common_sex")
    private String dictType;

    @Schema(description = "状态,见 CommonStatusEnum 枚举", example = "1")
    private Integer status;

    @Schema(description = "颜色类型,default、primary、success、info、warning、danger", example = "default")
    private String colorType;

    @Schema(description = "css 样式", example = "btn-visible")
    private String cssClass;

    @Schema(description = "备注", example = "我是一个角色")
    private String remark;

    @Schema(description = "父级ID", example = "0")
    private Long parentId;

    @Schema(description = "子节点")
    private List<DictDataTreeRespVO> children;

}
